package nc.ui.tc.budget.AnnualBudget.Listener;

import nc.ui.pub.bill.BillMouseEnent;
import nc.ui.pub.bill.BillTableMouseListener;
import nc.ui.tc.budget.AnnualBudget.ClientUI;
import nc.ui.tc.tools.pubclass.LinkQueryData;
import nc.ui.uap.sf.SFClientUtil;
import nc.vo.tc.annualbudget.annualbudget;

public class ChildListPanelMouseListener implements BillTableMouseListener {
	ClientUI clientUI=null;
	public ChildListPanelMouseListener(ClientUI clientUI) {
		this.clientUI=clientUI;
	}	
	public void mouse_doubleclick(BillMouseEnent e) {

		annualbudget ann=((annualbudget[]) clientUI.getBufferData().getCurrentVO().getChildrenVO())[e.getRow()];
		if (ann.getDatasources().equals("3")) 
			SFClientUtil.openLinkedQueryDialog("88H19903",null,new LinkQueryData(ann));
			}
	
}
